package junit.base;

import org.junit.Test;

/**
 * Created by zhaott on 2018/9/18.
 */
public class JunitDemo05 {

    @Test(expected = NullPointerException.class)
    public void demo05(){
        String str=null;
        System.out.println(str.length());;
    }

}
